package com.sumainfor.pc.epc.controller.gmio;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.epc.service.impl.gmio.RentHeadService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

/**
 * <p>
 *
 * <p>
 *
 * @author: Mr.Wang
 * @create: 2019-08-28 10:20
 **/
@Controller
@RequestMapping("/key/RentHead")
public class RentHeadController {

    @Autowired
    RentHeadService rentHeadService;

    /**
     * 租后主管查看新房验收未通过
     * @author zhoucong
     * @data 2019/8/28
     * @Param
     * @return
     */
    @ResponseBody
    @GetMapping("/getNoacceptance")
    public JsonResult getNoacceptance(@RequestParam Map<String,Object> params){
        return rentHeadService.getNoacceptance(params);
    }
}
